home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 003 / dbiiboot.arc / INFO.TXT
Encoding:
Text File  |  1985-09-24  |  6.0 KB  |  113 lines

  1. *****************************************************************************
  2. *  AUTOBOOT A DBASE APPLICATION TO RAMDRIVE ON A SINGLE OR DUAL FLOPPY PC   *
  3. *                                                                           *
  4. *   This describes a method of setting up batch files and modifying         *
  5. *    Dbase II so that you can auto-run any application on ramdrive B:       *
  6. *    with iddentical behavior to those formerly run on phsical drive B:.    *
  7. *    It removes the need to manually copy files to the disk each time       *
  8. *    or having an inflexible batch file on the program disk that attempts   *
  9. *    to handle every application.  You must have 512K memory to make use    *
  10. *    of this method, but with low memory prices these days and the          *
  11. *    tremendous increase in speed of execution achieved, no Dbase           *
  12. *    application should have to run entirely on floppy.                     *
  13. *                                                                           *
  14. *   The following scenario is the method I use and I think you will see its *
  15. *    advantages as you read on:                                             *
  16. *                                                                           *
  17. *   This assumes that you have access to Super Drive, a ram disk program    *
  18. *    provided with AST cards for the PC.  I also install Side Kick on the   *
  19. *    power up sequence, if you do not have it simply delete the command     *
  20. *     (If you do not have Side Kick, make the investment now, its the best  *
  21. *      interactive editor I have used for Dbase by far)                     *
  22. *****************************************************************************
  23.  
  24. Conventions of Dbase routines:
  25.  
  26. B: is always a ramdrive, to replace former physical floppy drive B:
  27. A: always contains the Dbase system programs DBASE.COM, DBASE.OVL
  28. C: Physical drive B: is reassigned to the C: by  SuperDrive (/i option)
  29.  
  30.    The floppy disk in C: contains:
  31.    - Database files
  32.    - Index files
  33.    - .PRG program files
  34.    - .FMT and .FRM files
  35.  
  36. BOOT SEQUENCE:
  37.   Dbase should be modified so that F10 is assigned "DO B:INIT;"
  38.     (You can do this by using the Norton Utilities or some equivalent that
  39.      permits you to view and edit disk file sectors.  Simply locate the
  40.      ASCII string sequences initially assigned to the function keys in the
  41.      program DBASE.COM by browsing through, and change the one for F10
  42.      to "DO B:INIT;"
  43.      I have done this to provide a the standard application startup of
  44.      simply pushing the F10 key.  Running any Dbase application simply
  45.      consists of turning the machine on and pushing F10)
  46.  
  47. 1) An AUTOEXEC.BAT file on Drive A: (YOUR dBASE II SYSTEM DISKETTE) does
  48.    the following:
  49.     - ASTCLOCK              .....auto sets the date and time (provided with AST
  50.                                  boards;
  51.     - SUPERDRV B: /i/u=150  .....sets up ramdrive and inserts it between
  52.                                  the physical drives;
  53.     - SK                    .....install sidekick;
  54.     - COPY C:INIT.BAT B:    .....copy the application dependent system setup
  55.                                  batch file to ramdrive B:
  56.     - B:                    .....transfer control to drive B:
  57.     - INIT                  .....begin execution of INIT.BAT from the
  58.                                  application data disks INIT.BAT file;
  59.  
  60. 2) The B:INIT.BAT which does the following:
  61.     - Copies appropriate data (.dbf) and program (.prg) etc files to ramdrive
  62.       B: from your Dbase application data diskette in drive C:
  63.        (C:INIT.PRG is amoung the copied files, this is the Dbase individual
  64.         application setup program that will be automatically run when F10
  65.         is pressed.  It could be a Master Menu program, however I normally
  66.         use the INIT.PRG program to set system parameters like the Date, use
  67.         certain files and indexes and set default to B: etc then turn control
  68.         over to a MENU.PRG program after redefining the F10 key to
  69.         "DO MENU;".  With this method, the user never really notices that
  70.         the F10 key does anything different the 10th time he pushes compared
  71.         to the first time.)
  72.  
  73.     - A:                    .....turns control over to physical drive A:
  74.                                  (this is the Dbase system disk)
  75.     - DBASE                 .....Runs DBASE
  76.  
  77. 3) The user pushes F10 and Dbase responds by "DO B:INIT.PRG" which does the
  78.    following:
  79.     - Sets default to B:
  80.     - Re-Defines F10 to "DO MENU;"
  81.     - Set Escape on, Talk on, Bell off
  82.     - Introduction message
  83.     - Transfers control to MENU.PRG
  84.  
  85. 4) From now on, every time the user pushes F10 he will get the Main Menu.
  86.    (I handle all menu choices with Function Keys, and each time a new
  87.     menu is chosen, Each item sets a function key to correspond to the
  88.     .prg file its choice is associated with.)
  89.  
  90. *****************************************************************************
  91.  
  92. With this approach, you can stick a mailing list Dbase system of datafiles
  93. and .prg files in Drive B: of your PC, reset and the system will set itself
  94. up in ramdisk automatically and run the same as before, only much faster
  95. than you believed possible.
  96. The beauty of the system is that another Dbase file system and associated
  97. application programs and format files etc can be inserted in
  98. Drive B:, the system reset and a new INIT.BAT file from that disk could
  99. set things up completely different.  The method also can be adapted to hard
  100. drive systems or 3 floppy systems.  I run the same software on 3 different
  101. PC's, all with different hardware configuration, but the only difference
  102. necessary is the availability of a different startup batch file on the
  103. DBASE master diskette for each machine.
  104.  
  105. *****************************************************************************
  106.  
  107. Tony Hansen
  108. Independent Micro Consulting
  109. 134 Upland Drive
  110. MEDICINE HAT, Alberta T1A 3N7
  111. Canada  Phone 403-527-7441
  112.  
  113.